package com.ruoyi.site.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 音乐情绪对象 moods
 * 
 * @author chuckeytang
 * @date 2025-08-17
 */
public class Moods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 情绪ID */
    private Long moodId;

    /** 情绪名称 */
    @Excel(name = "情绪名称")
    private String name;

    /** 用于URL的友好名称 */
    @Excel(name = "用于URL的友好名称")
    private String slug;

    /** 情绪封面图片URL */
    @Excel(name = "情绪封面图片URL")
    private String coverImageUrl;

    /** 情绪描述 */
    @Excel(name = "情绪描述")
    private String description;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 记录更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 创建者 */
    @Excel(name = "创建者")
    private String owner;

    /** 关联的音乐曲目数量 */
    private Long count;


    public void setMoodId(Long moodId) 
    {
        this.moodId = moodId;
    }

    public Long getMoodId() 
    {
        return moodId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSlug(String slug) 
    {
        this.slug = slug;
    }

    public String getSlug() 
    {
        return slug;
    }

    public void setCoverImageUrl(String coverImageUrl) 
    {
        this.coverImageUrl = coverImageUrl;
    }

    public String getCoverImageUrl() 
    {
        return coverImageUrl;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getCount() {
        return count;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("moodId", getMoodId())
            .append("name", getName())
            .append("slug", getSlug())
            .append("coverImageUrl", getCoverImageUrl())
            .append("description", getDescription())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("owner", getOwner())
            .append("count", getCount())
            .toString();
    }
}
